home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 15499 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: news.cern.ch!danpop
  2. From: danpop@mail.cern.ch (Dan Pop)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: May fprintf () be recursive?
  5. Date: 19 Apr 96 12:21:05 GMT
  6. Organization: CERN European Lab for Particle Physics
  7. Message-ID: <danpop.829916465@news.cern.ch>
  8. References: <4l5f9s$ad3@news.cs.tu-berlin.de> <danpop.829848211@news.cern.ch> <4l7ip9$r8r@news.cs.tu-berlin.de>
  9. NNTP-Posting-Host: ues5.cern.ch
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=US-ASCII
  12. Content-Transfer-Encoding: 7bit
  13. X-Newsreader: NN version 6.5.0 #18 (NOV)
  14.  
  15. In <4l7ip9$r8r@news.cs.tu-berlin.de> ulrich@cs.tu-berlin.de (Ulrich Wittenberg) writes:
  16.  
  17.  
  18. >I'm sorry, recursion was the wrong word. The question should have
  19. >been:
  20. >
  21. >Is fprintf reentrant?
  22.  
  23. 1. Reentrancy is a non-issue for your problem.
  24.  
  25. 2. fprintf is not reentrant (like the bulk of the standard library
  26.    functions).  This is why you're not allowed to call fprintf in a
  27.    signal handler.
  28.  
  29. Dan
  30. --
  31. Dan Pop
  32. CERN, CN Division
  33. Email: danpop@mail.cern.ch 
  34. Mail:  CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
  35.